
<tagLib name="html" />
<include file="../Public/header" />
<div id="wrap"> <include file="../Public/top" />
  <div id="content">
    <div class="mainarea">
      <div class="maininner">
        <div class="bdrcontent">
          <form id="phpform" method="post" action="__URL__/insert" class="formtable" onsubmit="return $.formValidator.pageIsValid('1')">
            <table width="100%" cellpadding="0" cellspacing="0" class="formtable">
              <tr>
                <td width="200">title：</td>
                <td><input name="title" type="text" style="width:260px;" id="title"  /></td>
              </tr>
              <tr>
                <td>content：</td>
                <td><html:editor type="fckeditor"  id="editor" width="550px" height="245px" name="content" content="{$vo.content}" /></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
                <td><input type="submit" value="提交" class="submit" />
                  <input name="reset" type="reset" value="重置" class="submit" />
                  <input name="button" type="button" value="返回" onclick="javascript:history.go(-1);"  class="submit" /></td>
              </tr>
            </table>
          </form>
        </div>
        <br />
      </div>
    </div>
    <include file="../Public/menu" /> </div>
  <include file="../Public/footer" /> </div>
</body></html>
<script type="text/javascript">
	
$(document).ready(function(){
	$.formValidator.initConfig({autotip:true,tidymode:true,onerror:function(msg){alert(msg)}});
	//$("#id").formValidator({onshow:"请输入id",onfocus:"id至少要输入5个汉字",oncorrect:"恭喜你,你输对了",defaultvalue:""}).inputValidator({min:10,onerror:"你输入的id长度不正确,请确认"});
	$("#title").formValidator({onshow:"请输入title",onfocus:"title至少要输入5个汉字",oncorrect:"恭喜你,你输对了",defaultvalue:""}).inputValidator({min:10,onerror:"你输入的title长度不正确,请确认"});
	//$("#content1").formValidator({onshow:"请输入content",onfocus:"content至少要输入5个汉字",oncorrect:"恭喜你,你输对了",defaultvalue:""}).inputValidator({min:10,onerror:"你输入的content长度不正确,请确认"});
	//$("#cTime").formValidator({onshow:"请输入cTime",onfocus:"cTime至少要输入5个汉字",oncorrect:"恭喜你,你输对了",defaultvalue:""}).inputValidator({min:10,onerror:"你输入的cTime长度不正确,请确认"});
});
	
</script>
